package com.apigen.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 验证码响应DTO
 *
 * @author API Generator Platform
 * @since 2025-09-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "验证码响应")
public class CaptchaResponse {

    @Schema(description = "验证码唯一标识", example = "captcha_123456789")
    private String captchaId;

    @Schema(description = "验证码图片Base64编码", example = "...")
    private String captchaImage;

    @Schema(description = "验证码过期时间（毫秒时间戳）", example = "1695547200000")
    private Long expireTime;

    @Schema(description = "验证码有效期（秒）", example = "300")
    private Integer expireIn;
}
